package a66weding.com.jiehuntong.common.api;

/**
 * API 请求地址
 * Created by Jian Chang on 2016-01-11.
 */
@SuppressWarnings("unused")
public final class Url {

    public static boolean logToggle = true;// 日志开关，打包发布时需关闭
    /**
     * URL Token
     */
    public static final String TOKEN = "00";

    // 发布地址
    public static final String SURL = "http://api.66wedding.com";// http://s.66wedding.com
    // 测试地址
//    public static final String SURL = "http://test-api.66wedding.com";
//    public static final String SURL = "http://s.66wedding.com";

    /**
     * API 基地址
     */
    //外网接口
    public static final String BASE = SURL + "/Wedding/";
    //外网接口API
    public static final String BASE_API = SURL +  "/WeddingMobileApi/";

    /**
     * 首页头部5张图片
     */
    public static final String HOMEPAGERHEADLOOPER = SURL +  "/WeddingMobileApi/get_ProductServiceIndexTopList?Token=00";

    /**
     * 首页下方列表
     */
    public static final String HOMEPAGERBOTTOM = SURL +  "/WeddingMobileApi/get_ProductListIndex?Token=00&";
    /**
     * 返回产品详细信息
     */
    public static final String GETPRODUCTDETAIL = SURL +  "/WeddingMobileApi/get_ProductDetail?Token=00&";

    /**
     * 分类页面的地址
     */
    public static final String BASE2 = SURL +  "/WeddingMobileApiSD/";

    /**
     * 注册获取验证码
     */
    public static final String REGVERIFICATIONCODE = "VerificationCode";



    /**
     * GET WeddingMobileApiSD/get_ProductCategoryByPid?Token={Token}
     商品分类 一级分类 二级分类
     */
    public static final String CATEGURYGRIDVIEW=  SURL + "/WeddingMobileApiSD/get_ProductCategoryByPid?Token=00";

    /**
     *  获取首页gif图片地址
     */
    public static final String GETHOMEGIFPATH=  SURL + "/WeddingMobileApi/getGuangGao?Token=00";


    /**
     * 分类页面里点击每个item后的顶部的viewpager
     */
    public static final String CATEGURYGRIDVIEWTOPVIEWPAGER= SURL + "/WeddingMobileApi/get_ProductServiceTopList?Token=ryyrqyyrvszJI&categoryID=";

    /**
     * 分类页面里点击每个item后的底部的套餐
     */
    public static final String TAOCAN1= SURL + "/WeddingMobileApi/get_ProductListByCategory?Token=ryyrqyyrvszJI&pageIndex=1&category=";
    public static final String TAOCAN2="&memberID=";

    /**
     * 分类页面里点击每个item后的底部的案例
     */
    public static final String ANLI= SURL + "/WeddingMobileApi/get_CasesListByCategory?Token=ryyrqyyrvszJI&pageIndex=1&category=";

    /**
     * 分类页面里点击每个item后的底部的商家
     */
    public static final String SHANGJIA1= SURL + "/WeddingMobileApi/get_BusinessList?Token=ryyrqyyrvszJI&category=";
    public static final String SHANGJIA2="&area=0&city=0&order=0&pageIndex=1";

    /**
     * 我的页面里设置界面下修改密码,将明文转换成MD5值
     */
    public static final String MEOLDPASSWORD = SURL +  "/WeddingMobileApiSD/get_MD5Pass?Token=00&Pass=";


    //搜索案例界面
    /**
     * GET WeddingMobileApi/get_CasesListBySearch?Token={Token}&pageIndex={pageIndex}&category={category}&memberID={memberID}
     搜索专属 根据关键字搜索案例列表
     */
    public static final String GET_CASESLISTBYSEARCH = SURL +  "/WeddingMobileApi/get_CasesListBySearch?Token=00&";

    //
    public static final String GET_CASESDETAIL = SURL +  "/WeddingMobileApi/get_CasesDetail?Token=00&";

    //搜索界面
    public static final String GET_CASESPRODUCTLISTLIKE = SURL +  "/WeddingMobileApi/get_CasesProductListLike?Token=00&";
    //根据商家ID返回改商家所有的已上架商品信息 get_ProductList
    /**
     * GET WeddingMobileApi/get_ProductList?Token={Token}&BusinessID={BusinessID}&pageIndex={pageIndex}
     *     //根据商家ID返回改商家所有的已上架商品信息 get_ProductList
     */
    public static final String GET_PRODUCTLIST = SURL +  "/WeddingMobileApi/get_CasesProductListLike?Token=00&";

    /**
     * 搜索专属 根据关键字搜索商品列表
     * GET WeddingMobileApi/get_ProductListBySearchShop?Token={Token}&pageIndex={pageIndex}&search={search}&memberID={memberID}
     */
    public static final String GET_PRODUCTLISTBYSEARCHSHOP = SURL +  "/WeddingMobileApi/get_ProductListBySearchShop?Token=00&";
    /**
     * 搜索专属 根据关键字搜索商家列表
     * GET WeddingMobileApi/get_BusinessListSearch?Token={Token}&search={search}&city={city}&pageIndex={pageIndex}&memberID={memberID}
     */
    public static final String GET_BUSINESSLISTSEARCH = Url.SURL + "/WeddingMobileApi/get_BusinessListSearch?Token=00&";
    /**
     *GET WeddingMobileApi/get_ProductListBySearch?Token={Token}&pageIndex={pageIndex}&search={search}&memberID={memberID}
     * 搜索专属 根据关键字搜索套餐列表
     */
    public static final  String GET_PRODUCTLISTBYSEARCH = Url.SURL + "/WeddingMobileApi/get_ProductListBySearch?Token=00&";
/**
 *
 * SJ16052616132669
 * GET WeddingMobileApi/get_BusinessDetail?Token={Token}&nvcNo={nvcNo}&memberID={memberID}
 * 返回商家详细信息
 */
    public static final String GET_BUSINESSDETAIL = Url.SURL + "/WeddingMobileApi/get_BusinessDetail?Token=00&businessID=";
    public static final String GET_BUSINESSDETAIL_NO = Url.SURL + "/WeddingMobileApi/get_BusinessDetail?Token=00&";
    /**
     * POST WeddingMobileApi/post_BusinessMemberCreate?Token={Token}&MemberID={MemberID}&BusinessID={BusinessID}
     +关注 关注店铺
     */
    public static final String POST_BUSINESSMEMBERCREATE = Url.SURL + "/WeddingMobileApi/post_BusinessMemberCreate?Token=00&";

    /**
     * POST WeddingMobileApi/post_CancelBusinessMember?Token={Token}&MemberID={MemberID}&BusinessID={BusinessID}
     * 取消关注
     */

    public static final String POST_CANCELBUSINESSMEMBER = Url.SURL + "/WeddingMobileApi/post_CancelBusinessMember?Token=00&";

    /**
     * 获取热门接口;
     * GET WeddingMobileApi/get_HotSearch?Token={Token}
     */
    public static final String GET_HOTSEARCH = Url.SURL + "/WeddingMobileApi/get_HotSearch?Token=00";
    /**
     * POST WeddingMobileApi/post_SearchCreate?Token={Token}&keywords={keywords}
     搜索关键字记录
     */

    public static final String POST_SEARCHCREATE = Url.SURL + "/WeddingMobileApi/post_SearchCreate?Token=00&";

    /**
     * POST WeddingMobileApi/WXPayTrueSendMsg?Token={Token}
     * &out_trade_no={out_trade_no}&alipayJinE={
     * alipayJinE}&wxPass={wxPass}&buyer_id={buyer_id}&gmt_payment={
     * gmt_payment}&trade_no={trade_no}&trade_status={trade_status}
     */

    public  static final String WXPayTrueSendMsg = Url.SURL + "/WeddingMobileApi/WXPayTrueSendMsg?Token=00&";

    /**
     * GET WeddingMobileApiSD/get_MD5Pass?Token={Token}&Pass={Pass}
     加密明文密码 返回加密后的MD5
     */
    public static final String GET_MD5PASS = Url.SURL + "/WeddingMobileApiSD/get_MD5Pass?Token=00&";

    /**
     * POST WeddingMobileApi/post_SureGoodsReceipt?Token={Token}&ids={ids}
     确认收货
     */
    public static final String POST_SUREGOODSRECEIPT = Url.SURL + "/WeddingMobileApi/post_SureGoodsReceipt?Token=00&";

    /**
     * POST WeddingMobileApi/post_OrderPingJia/{id}?Token={Token}&score1={score1}
     * &score2={score2}&score3={score3}&score4={score4}&memeberID=
     * {memeberID}&pics={pics}&title={title}&content={content}
     订单评论
     */


    // 根据用户ID 获取用户的请柬信息
    public static final String GETINVITEMARRYCARDSELECTUID=  SURL + "/WeddingMobileApi/GetInviteMarryCardSelectUid?Token=00";
    // 获取请柬分享信息
    public static final String GETSHARELINK=  SURL + "/WeddingMobileApi/GetShareLink?Token=00";
    // 获取登录短信验证码
    public static final String VERFICATIONCODE=  SURL + "/Wedding/VerificationCode?Token=";
    // 短信验证码登录
    public static final String MEMBERLOGIN=  SURL + "/Wedding/Member_Loging_New?Token=";
    // 根据用户ID 获取用户信息
    public static final String GETUSERINFO=  SURL + "/Wedding/Return_Member?Token=00&i_Id=";

    // 根据密码登录 并获取用户信息
    public static final String PASSWORDLOGIN=  SURL + "/Wedding/Member_Loging?Token=00";

}
